package com.csnf.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.csnf.entity.Category;
import com.csnf.mapper.CategoryMapper;
import org.springframework.stereotype.Service;

@Service
public class CategoryService extends ServiceImpl<CategoryMapper, Category> {
    public boolean insertCategory(Category category){
        return save(category);
    }
}
